package com.example.springmysqldemo.result;

import com.example.springmysqldemo.entity.Book;
import com.example.springmysqldemo.entity.User;

import java.util.List;

public class ResultUsers {
    private int code;
    String msg;
    List<User> Users;
    public ResultUsers(int code,String msg, List<User> Users){
        this.code = code;
        this.msg = msg;
        this.Users = Users;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<User> getUsers() {
        return Users;
    }

    public void setUsers(List<User> users) {
        Users = users;
    }
}
